import {Directive, HostBinding, HostListener, OnInit} from "@angular/core";
@Directive({
    selector: '[appHoverShow]'
  }
)
export class HoverShowDirective implements OnInit {
  clearTime;
  @HostBinding('class.active') isOppen = false;
  @HostListener('mouseover') show() {
    this.isOppen = true;
  }
  @HostListener('mouseleave') hidden() {
    this.isOppen = false;
  }
  constructor() { }
ngOnInit() {
}
}
